//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop

#include "stdafx.h"
#include "Form_Mixer.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TFormMixer *FormMixer;
//---------------------------------------------------------------------------
__fastcall TFormMixer::TFormMixer(TComponent* Owner)
	: TForm(Owner)
{
	SetVol();
}
//---------------------------------------------------------------------------
void __fastcall TFormMixer::Port_0_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(0, 127-FormMixer->Port_0_Vol_Bar->Position);
}
//---------------------------------------------------------------------------
void __fastcall TFormMixer::Port_1_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(1, 127-FormMixer->Port_1_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_2_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(2, 127-FormMixer->Port_2_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_3_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(3, 127-FormMixer->Port_3_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_4_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(4, 127-FormMixer->Port_4_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_5_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(5, 127-FormMixer->Port_5_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_6_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(6, 127-FormMixer->Port_6_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_7_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(7, 127-FormMixer->Port_7_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_8_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(8, 127-FormMixer->Port_8_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_9_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(9, 127-FormMixer->Port_9_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_10_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(10, 127-FormMixer->Port_10_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_11_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(11, 127-FormMixer->Port_11_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_12_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(12, 127-FormMixer->Port_12_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_13_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(13, 127-FormMixer->Port_13_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_14_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(14, 127-FormMixer->Port_14_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_15_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(15, 127-FormMixer->Port_15_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_16_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(16, 127-FormMixer->Port_16_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_17_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(17, 127-FormMixer->Port_17_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_18_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(18, 127-FormMixer->Port_18_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_19_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(19, 127-FormMixer->Port_19_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_20_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(20, 127-FormMixer->Port_20_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_21_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(21, 127-FormMixer->Port_21_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_22_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(22, 127-FormMixer->Port_22_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_23_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(23, 127-FormMixer->Port_23_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_24_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(24, 127-FormMixer->Port_24_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_25_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(25, 127-FormMixer->Port_25_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_26_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(26, 127-FormMixer->Port_26_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_27_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(27, 127-FormMixer->Port_27_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_28_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(28, 127-FormMixer->Port_28_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_29_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(29, 127-FormMixer->Port_29_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_30_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(30, 127-FormMixer->Port_30_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_31_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(31, 127-FormMixer->Port_31_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_32_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(32, 127-FormMixer->Port_32_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_33_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(33, 127-FormMixer->Port_33_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_34_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(34, 127-FormMixer->Port_34_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_35_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(35, 127-FormMixer->Port_35_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

void __fastcall TFormMixer::Port_36_Vol_BarChange(TObject *Sender)
{
	MidiSetVolume(36, 127-FormMixer->Port_36_Vol_Bar->Position);
}
//---------------------------------------------------------------------------

